package com.woniuxy.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class WaiteOrderDto {
    //订单编号
    private String orderNum;
    //下单时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime orderDate;
    //订单状态
    private Integer state;
    //收餐人姓名
    private String receiveName;
    //收餐人电话
    private String orderPhone;
    //配送费
    private BigDecimal dphPrice;
    //包装费
    private BigDecimal packPrice;
    //总价格
    private BigDecimal price;
    //配送方式
    private String dispatching;
    //所有订单项
    private List<OrderItemDto> items;
}
